package com.lsu.app.service;

import com.lsu.app.bean.Collect;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 *
 * @description 针对表【collect(收藏/关注)】的数据库操作Service
 * @Date 2023-10-18 20:22:23
 * @author hjj
 */

public interface CollectService extends IService<Collect> {
    Integer collectCount(Integer linkId,Integer type);//查看教师是否被关注
    Integer CountByTeacherId(Integer teacherId);
    Integer isCollect(Integer linkId,Integer userId);
    Set<Integer> CourseKindIdsByUserId(Integer userId);
}
